<?php

namespace App\Http\Controllers\Web;

use App\Http\Controllers\Controller;
use App\Http\Service\Web\NewsService;

class NewsController extends Controller
{
    public function index()
    {
        return view('Web.news');
    }

    public function getList()
    {
        // $get_data = $request->all();

        $result = NewsService::getList();

        return view('Web.news', $result);
    }
}